﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MeadiePlayer
{
    /// <summary>
    /// 数据实体类
    /// entity
    /// bean
    /// pojo
    /// 每一个实体类  对应你数据库中的一张表 或者一个查询结果
    /// </summary>
   public class SongInfoEntity
    {
        /// <summary>
        /// 歌曲id
        /// </summary>
        private int id;
        /// <summary>
        /// 歌曲名字
        /// </summary>
        private string name;
        /// <summary>
        /// 歌曲拼音名字
        /// </summary>
        private string enName;
        /// <summary>
        /// 歌名长度
        /// </summary>
        private int wordCount;
        /// <summary>
        /// 歌曲类型
        /// </summary>
        private int songTypeId;
        /// <summary>
        /// 歌手id
        /// </summary>
        private int singerId;
        /// <summary>
        /// 歌曲路径
        /// </summary>
        private string songUrl;
        /// <summary>
        /// 播放次数
        /// </summary>
        private int playCount;

        public int Id
        {
            get
            {
                return id;
            }

            set
            {
                id = value;
            }
        }

        public string Name
        {
            get
            {
                return name;
            }

            set
            {
                name = value;
            }
        }

        public string EnName
        {
            get
            {
                return enName;
            }

            set
            {
                enName = value;
            }
        }

        public int WordCount
        {
            get
            {
                return wordCount;
            }

            set
            {
                wordCount = value;
            }
        }

        public int SongTypeId
        {
            get
            {
                return songTypeId;
            }

            set
            {
                songTypeId = value;
            }
        }

        public int SingerId
        {
            get
            {
                return singerId;
            }

            set
            {
                singerId = value;
            }
        }

        public string SongUrl
        {
            get
            {
                return songUrl;
            }

            set
            {
                songUrl = value;
            }
        }

        public int PlayCount
        {
            get
            {
                return playCount;
            }

            set
            {
                playCount = value;
            }
        }
    }
}
